-- GENERATED SPELL FOR [Shadowforge Commander] --


function spell0_2744(pUnit, Event) --@Devotion Aura,Self--
pUnit:FullCastSpellOnTarget(1032,pUnit)
pUnit:RegisterEvent('Sorts_2744', 625, 1)
end

function Sorts_2744(pUnit, Event)
local choix_sorts_2744 = math.random(0, 0)
if choix_sorts_2744 == 0 then
pUnit:RegisterEvent('spell0_2744', 1, 1)
end
end

function mob2744_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2744', math.random(1500, 3000), 1)
end

function mob2744_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2744_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2744_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2744, 1, 'mob2744_Action')
RegisterUnitEvent(2744, 2, 'mob2744_Leave')
RegisterUnitEvent(2744, 3, 'mob2744_Kill')
RegisterUnitEvent(2744, 4, 'mob2744_Die')
